package com.xbongbong.pro.statistic.enums;

import lombok.Getter;

/**
 * @ClassName RateTypeEnum
 * @Description 副指标图增加，减少、不变类型
 * @Author mengna.Deng
 * @Date 2021/10/14 14:52
 * @Version 1.0
 */
@Getter
public enum RateTypeEnum {
    /**
     * 不变
     */
    INVARIANT(0, "enum.rateTypeEnum.name.invariant", "invariant"),
    /**
     * 增加
     */
    INCREASE(1, "enum.rateTypeEnum.name.increase", "increase"),
    /**
     * 减少
     */
    DECREASE(2, "enum.rateTypeEnum.name.decrease", "decrease"),

    ;

    private final Integer code;

    private final String name;

    private final String alias;

    RateTypeEnum(Integer code, String name, String alias) {
        this.code = code;
        this.name = name;
        this.alias = alias;
    }
}
